package com.dragons.spring5.aop.annotation;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@Configuration
@ComponentScan(basePackages = {"com.dragons.spring5.aop.annotation"})
// proxyTargetClass 默认就是true
@EnableAspectJAutoProxy(proxyTargetClass = true)
// @EnableAspectJAutoProxy 相当于
// 开启 Aspect 生成代理对象  <aop:aspectj-autoproxy />
public class ConfigAop {
}
